using System.Collections.Generic;

namespace MyApp.WebApi.Entity
{
    public class GoodsPhotos : BaseModel
    {
        public int GoodsId { get; set; }
        public int PhotosId { get; set; }

        //自动构建对应表的主外键关系   

        public virtual Goods Good { get; set; }
        public virtual Photos Photo { get; set; }
    }
}
